package com.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.pojo.SysUser;
import com.example.pojo.Vo.SysUserVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<SysUser> {

    SysUserVo getLogin(String usrName,String usrPassword);

    IPage<SysUserVo> getPage(Page page,@Param("sysUserVo") SysUserVo sysUserVo);

    public SysUserVo findUserByUsrName(String usrName);


}
